+++ /dev/null
-#!/bin/sh
-make -C /Users/robertlipe/src/gpsbabel -f GPSBabel.xcodeproj/qt_makeqmake.mak
+++ /dev/null
-#!/bin/sh
-make -C /Users/robertlipe/src/gpsbabel -f GPSBabel.xcodeproj/qt_preprocess.mak
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 4.6.2, 2018-07-03T23:31:20. -->
-<qtcreator>
- <data>
- <variable>EnvironmentId</variable>
- <value type="QByteArray">{bde38e34-291f-417e-b793-a8af8f4a200a}</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.ActiveTarget</variable>
- <value type="int">0</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.EditorSettings</variable>
- <valuemap type="QVariantMap">
- <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
- <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
- <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
- <value type="QString" key="language">Cpp</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
- </valuemap>
- </valuemap>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
- <value type="QString" key="language">QmlJS</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
- </valuemap>
- </valuemap>
- <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
- <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
- <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
- <value type="int" key="EditorConfiguration.IndentSize">4</value>
- <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
- <value type="int" key="EditorConfiguration.MarginColumn">80</value>
- <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
- <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
- <value type="int" key="EditorConfiguration.PaddingMode">1</value>
- <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
- <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
- <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
- <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
- <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
- <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
- <value type="int" key="EditorConfiguration.TabSize">8</value>
- <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
- <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
- <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
- <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
- <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
- <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.PluginSettings</variable>
- <valuemap type="QVariantMap"/>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Target.0</variable>
- <valuemap type="QVariantMap">
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 5.5.1 (clang_64)</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Qt 5.5.1 (clang_64)</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{cb5ee29e-3ecf-4edf-b1c0-c1955cc04bde}</value>
- <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/build-GPSBabel-Qt_5_5_1_clang_64-Debug</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/build-GPSBabel-Qt_5_5_1_clang_64-Release</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/build-GPSBabel-Qt_5_5_1_clang_64-Profile</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy Configuration</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
- <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
- <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
- <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
- <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
- <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
- <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
- <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
- <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
- <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
- <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
- <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
- <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
- <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
- <value type="int">0</value>
- <value type="int">1</value>
- <value type="int">2</value>
- <value type="int">3</value>
- <value type="int">4</value>
- <value type="int">5</value>
- <value type="int">6</value>
- <value type="int">7</value>
- <value type="int">8</value>
- <value type="int">9</value>
- <value type="int">10</value>
- <value type="int">11</value>
- <value type="int">12</value>
- <value type="int">13</value>
- <value type="int">14</value>
- </valuelist>
- <value type="int" key="PE.EnvironmentAspect.Base">2</value>
- <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
- <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
- <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
- <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.TargetCount</variable>
- <value type="int">1</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
- <value type="int">18</value>
- </data>
- <data>
- <variable>Version</variable>
- <value type="int">18</value>
- </data>
-</qtcreator>
+++ /dev/null
-/Users/robertlipe/src/gpsbabel
+++ /dev/null
-default-fb6583ef3ac2752c83d9312b68f55628
\ No newline at end of file
+++ /dev/null
-2018-03-18T03:11:11.316183Z|cov-build|39726|info|> [ERROR] System Integrity Protection is enabled. In order to use cov-build,
-2018-03-18T03:11:11.316183Z|cov-build|39726|info|> this must be disabled. If you are confident that SIP has been
-2018-03-18T03:11:11.316183Z|cov-build|39726|info|> disabled, pass --no-sip-check to bypass this check.
-2018-03-18T03:11:11.316183Z|cov-build|39726|info|>
+++ /dev/null
-roberts-mbp
\ No newline at end of file
+++ /dev/null
-# Version file created with Prevent version 2017.07
-212
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 4.6.2, 2018-07-03T23:29:03. -->
-<qtcreator>
- <data>
- <variable>EnvironmentId</variable>
- <value type="QByteArray">{bde38e34-291f-417e-b793-a8af8f4a200a}</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.ActiveTarget</variable>
- <value type="int">0</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.EditorSettings</variable>
- <valuemap type="QVariantMap">
- <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
- <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
- <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
- <value type="QString" key="language">Cpp</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
- </valuemap>
- </valuemap>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
- <value type="QString" key="language">QmlJS</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
- </valuemap>
- </valuemap>
- <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
- <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
- <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
- <value type="int" key="EditorConfiguration.IndentSize">4</value>
- <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
- <value type="int" key="EditorConfiguration.MarginColumn">80</value>
- <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
- <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
- <value type="int" key="EditorConfiguration.PaddingMode">1</value>
- <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
- <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
- <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
- <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
- <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
- <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
- <value type="int" key="EditorConfiguration.TabSize">8</value>
- <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
- <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
- <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
- <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
- <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
- <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.PluginSettings</variable>
- <valuemap type="QVariantMap"/>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Target.0</variable>
- <valuemap type="QVariantMap">
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.5 clang 64bit</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.5 clang 64bit</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.595.clang_64_kit</value>
- <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/gpsbabel/build-app-Desktop_Qt_5_9_5_clang_64bit-Debug</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/gpsbabel/build-app-Desktop_Qt_5_9_5_clang_64bit-Release</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/gpsbabel/build-app-Desktop_Qt_5_9_5_clang_64bit-Profile</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy Configuration</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
- <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
- <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
- <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
- <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
- <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
- <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
- <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
- <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
- <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
- <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
- <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
- <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
- <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
- <value type="int">0</value>
- <value type="int">1</value>
- <value type="int">2</value>
- <value type="int">3</value>
- <value type="int">4</value>
- <value type="int">5</value>
- <value type="int">6</value>
- <value type="int">7</value>
- <value type="int">8</value>
- <value type="int">9</value>
- <value type="int">10</value>
- <value type="int">11</value>
- <value type="int">12</value>
- <value type="int">13</value>
- <value type="int">14</value>
- </valuelist>
- <value type="int" key="PE.EnvironmentAspect.Base">2</value>
- <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">app</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/Users/robertlipe/src/gpsbabel/gui/app.pro</value>
- <value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
- <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
- <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">app.pro</value>
- <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
- <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
- <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/Users/robertlipe/src/gpsbabel/build-app-Desktop_Qt_5_9_5_clang_64bit-Debug/objects/GPSBabelFE.app/Contents/MacOS</value>
- <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
- <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
- <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.TargetCount</variable>
- <value type="int">1</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
- <value type="int">18</value>
- </data>
- <data>
- <variable>Version</variable>
- <value type="int">18</value>
- </data>
-</qtcreator>
+++ /dev/null
-/*
- Access to Lowrance USR files.
- Contributed to gpsbabel by Jason Rust (jrust at rustyparts.com)
-
- Copyright (C) 2005, 2006, 2007, 2008 Robert Lipe, robertlipe+source@gpsbabel.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
-
- HISTORY:
-
- 6/21/05 - Ling Nero (rnlnero@yahoo.com)
- - Added Routes, Icons, & Tracks support
- - Fixed waypoint date/time stamp conversion
- 02/09/08 - oliskoli
- - gbfile API
- - check for buffer overflows when reading names or comments
- 02/25/2008 - Alan Porter (alan@kr4jb.net)
- - Added new icons for Lowrance iFinder Expedition C
- - Categorized geocaching waypoints using different icons
-*/
-
-
-#include "defs.h"
-#include <QtCore/QDebug>
-#include <cmath> /* for lat/lon conversion */
-#include <cstdio>
-#include <cstdlib> // atoi
-
-typedef struct lowranceusr_icon_mapping {
- const int value;
- const char* icon;
-} lowranceusr_icon_mapping_t;
-
-#define DEF_ICON 10001
-
-/* Taken from iFinder 1.8 */
-const lowranceusr_icon_mapping_t lowranceusr_icon_value_table[] = {
- { 10000, "diamond 1" },
- { 10001, "diamond 2" },
- { 10002, "diamond 3" },
- { 10003, "x 1" },
- { 10004, "x 2" },
- { 10005, "x 3" },
- { 10006, "cross" },
- { 10007, "house" },
- { 10008, "car" },
- { 10009, "store" },
- { 10010, "gas station" },
- { 10011, "fork and spoon" },
- { 10012, "telephone" },
- { 10013, "airplane" },
- { 10014, "exit sign" },
- { 10015, "stop sign" },
- { 10016, "exclamation" },
- { 10017, "traffic light" },
- { 10018, "american flag" },
- { 10019, "person" },
- { 10020, "restrooms" },
- { 10021, "tree" },
- { 10022, "mountains" },
- { 10023, "campsite" },
- { 10024, "picnic table" },
- { 10025, "deer" },
- { 10026, "deer tracks" },
- { 10027, "turkey tracks" },
- { 10028, "tree stand" },
- { 10029, "bridge" },
- { 10030, "skull and crossbones" },
- { 10031, "fish" },
- { 10032, "two fish" },
- { 10033, "dive flag" },
- { 10034, "wreck" },
- { 10035, "anchor" },
- { 10036, "boat" },
- { 10037, "boat ramp" },
- { 10038, "flag buoy" },
- { 10039, "dam" },
- { 10040, "swimmer" },
- { 10041, "pier"},
-
- /* The following list is from TopoFusion */
-
- { 10000, "Waypoint" }, /* diamond 1 */
- { DEF_ICON, "Text Label (No Dot)" },
- { 10018, "Trailhead" }, /* american flag */
- { 10023, "Campground" }, /* campsite */
- { 10022, "Summit" }, /* mountains */
- { DEF_ICON, "Tall Tower" },
- { DEF_ICON, "Short Tower" },
- { 10021, "Forest" }, /* tree */
- { DEF_ICON, "Mine" },
-// { 10038, "Geocache" }, /* flag buoy */
-// { 10016, "Geocache Found" }, /* exclamation */
- { DEF_ICON, "Skiing Area" },
- { 10029, "Crossing" }, /* bridge */
- { 10007, "House" }, /* house */
- { 10003, "Dot" }, /* x 1 */
- { 10025, "Hunting Area" }, /* deer */
- { 10031, "Fishing Area" }, /* fish */
- { 10040, "Swimming Area" }, /* swimmer */
- { 10012, "Telephone" }, /* telephone */
- { 10024, "Rest Area" }, /* picnic table */
- { 10021, "Park" }, /* tree */
- { 10007, "Information" }, /* house */
- { 10022, "Scenic Area" }, /* mountains */
- { DEF_ICON, "Bank/Dollar" },
- { 10009, "Hotel" }, /* store */
- { 10011, "Restaurant" }, /* fork and spoon */
- { 10030, "Danger Area" }, /* skull and crossbones */
- { 10035, "Anchor" }, /* anchor */
- { 10002, "City (Large)" }, /* diamond 3 */
- { 10001, "City (Medium)" }, /* diamond 2 */
- { 10000, "City (Small)" }, /* diamond 1 */
- { DEF_ICON, "Drinking Water" },
- { 10008, "Parking Area" }, /* car */
- { 10023, "RV Park" }, /* campsite */
- { 10020, "Rest Room" }, /* restroom */
- { 10019, "Shower" }, /* person */
- { DEF_ICON, "Tunnel" },
-
- /* This list comes from 'wifinder' from ifinder H20 Color */
-
- { 10062, "Interesting Land Feature" },
- { 10063, "Global Location" },
- { 10064, "Note" },
- { 10065, "Ghost" },
- { 10066, "Letter" },
- { 10067, "Multi-Treasure" },
- { 10068, "Mystery Or Puzzle" },
- { 10069, "Treasure" },
- { 10070, "Webmail" },
- { 10071, "Sun" },
- { 10072, "Musical Note" },
- { 10073, "Camera/Movie Theater" },
- { 10074, "Star" },
- { 10075, "Coffee Mug" },
- { 10076, "Books" },
- { 10077, "Historical Marker" },
- { 10078, "Tools/Repair" },
- { 10079, "Favorite" },
- { 10080, "Arena" },
- { 10081, "Golf Course" },
- { 10082, "Money/Atm" },
-
- /* This list comes from Alan Porter <alan@kr4jb.net>, using an iFinder Expedition C */
-
- { 10042, "icon42" }, // black box with red X
- { 10043, "icon43" }, // small red dot
- { 10044, "icon44" }, // 4-wheeler
- { 10045, "icon45" }, // hiding hunter
- { 10046, "icon46" }, // tree (yellow base)
- { 10047, "icon47" }, // windmill
- { 10048, "icon48" }, // camera
- { 10049, "icon49" }, // tree (something in front of base)
- { 10050, "icon50" }, // tree (something hanging from left side)
- { 10051, "icon51" }, // 4 dots in rhombus shape
- { 10052, "icon52" }, // bare winter tree
- { 10053, "icon53" }, // hiding deer head peeking over bushes
- { 10054, "icon54" }, // piston? over a pile of salt?
- { 10055, "icon55" }, // corn
- { 10056, "icon56" }, // turkey
- { 10057, "icon57" }, // duck
- { 10058, "icon58" }, // hen
- { 10059, "icon59" }, // rabbit
- { 10060, "icon60" }, // paw print
- { 10061, "icon61" }, // 2 red flames?
-
- /* These are the icons that gpsbabel will use */
-
- { 10038, "Geocache" }, // flag buoy
- { 10016, "Geocache Found" }, // exclamation
- { 10043, "Micro-Cache" }, // small red dot
- { 10065, "Virtual cache" }, // ghost
- { 10051, "Multi-Cache" }, // 4 dots in rhombus shape
- { 10068, "Unknown Cache" }, // ? mark
- { 10045, "Locationless (Reverse) Cache" }, // hiding hunter
- { 10066, "Post Office" }, // letter
- { 10019, "Event Cache" }, // person
- { 10070, "Webcam Cache" }, // webcam
- { 10042, "Disabled Cache" }, // black box with red X
-
- { -1, nullptr }
-};
-
-static gbfile* file_in;
-static gbfile* file_out;
-static short_handle mkshort_handle;
-
-static unsigned short waypt_out_count;
-static unsigned int trail_count, lowrance_route_count;
-static int trail_point_count;
-static char continuous = 1;
-static short num_section_points;
-static route_head* trk_head;
-static route_head* rte_head;
-static char* ignoreicons;
-static char* writeasicons;
-static char* merge;
-static char* seg_break;
-static char* wversion_arg;
-static int reading_version;
-static int writing_version;
-
-#define MYNAME "Lowrance USR"
-
-#define MAXUSRSTRINGSIZE 256
-#define SEMIMINOR 6356752.3142
-#define DEGREESTORADIANS 0.017453292
-#define SECSTO2000 946713600
-#define MAX_TRAIL_POINTS 9999
-#define UNKNOWN_USR_ALTITUDE METERS_TO_FEET(-10000) /* -10000ft is how the unit stores unknown */
-
-/* Jan 1, 2000 00:00:00 */
-const time_t base_time_secs = 946706400;
-
-static int
-lowranceusr_readstr(char* buf, const int maxlen, gbfile* file)
-{
- int org, len;
-
- org = len = gbfgetint32(file);
- if (len < 0) {
- fatal(MYNAME ": Invalid item length (%d)!\n", len);
- } else if (len) {
- int i;
- if (len > maxlen) {
- len = maxlen;
- }
- (void) gbfread(buf, 1, len, file);
- if (org > maxlen) {
- (void) gbfseek(file, org - maxlen, SEEK_CUR);
- }
- // IWay 350C puts 0x01 for the accented o in the street name
- // of the Montreal Holiday Inn.
- for (i = 0; i < len; i++) {
- if (buf[i] == 0x01) {
- buf[i] = '*';
- }
- }
-
- }
-
- return len;
-}
-
-const QString
-lowranceusr_find_desc_from_icon_number(const int icon)
-{
- const lowranceusr_icon_mapping_t* i;
-
- for (i = lowranceusr_icon_value_table; i->icon; i++) {
- if (icon == i->value) {
- return i->icon;
- }
- }
-
- return "";
-}
-
-static int
-lowranceusr_find_icon_number_from_desc(const QString& desc)
-{
- const lowranceusr_icon_mapping_t* i;
- int n;
-
- if (desc.isNull()) {
- return DEF_ICON;
- }
-
- /*
- * If we were given a numeric icon number as a description
- * (i.e. 8255), just return that.
- */
- n = desc.toInt();
- if (n) {
- return n;
- }
-
-
- for (i = lowranceusr_icon_value_table; i->icon; i++) {
- if (desc.compare(i->icon,Qt::CaseInsensitive) == 0) {
- return i->value;
- }
- }
-
- return DEF_ICON;
-}
-
-static
-arglist_t lowranceusr_args[] = {
- {
- "ignoreicons", &ignoreicons, "Ignore event marker icons on read",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
- },
- {
- "writeasicons", &writeasicons, "Treat waypoints as icons on write",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
- },
- {
- "merge", &merge, "(USR output) Merge into one segmented track",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
- },
- {
- "break", &seg_break, "(USR input) Break segments into separate tracks",
- nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
- },
- {
- "wversion", &wversion_arg, "(USR output) Write version",
- "2", ARGTYPE_INT, "2", "3", nullptr
- },
- ARG_TERMINATOR
-};
-
-static void
-rd_init(const QString& fname)
-{
- file_in = gbfopen_le(fname, "rb", MYNAME);
-}
-
-static void
-rd_deinit()
-{
- gbfclose(file_in);
-}
-
-static void
-wr_init(const QString& fname)
-{
- file_out = gbfopen_le(fname, "wb", MYNAME);
- mkshort_handle = mkshort_new_handle();
- waypt_out_count = 0;
- writing_version = atoi(wversion_arg);
-}
-
-static void
-wr_deinit()
-{
- gbfclose(file_out);
- mkshort_del_handle(&mkshort_handle);
-}
-
-/**
- * Latitude and longitude for USR coords are in the lowrance mercator meter
- * format in WGS84. The below code converts them to degrees.
- */
-static double
-lon_mm_to_deg(double x)
-{
- return x / (DEGREESTORADIANS * SEMIMINOR);
-}
-
-static long
-lon_deg_to_mm(double x)
-{
- return lround(x * SEMIMINOR * DEGREESTORADIANS);
-}
-
-static double
-lat_mm_to_deg(double x)
-{
- return (2.0 * atan(exp(x / SEMIMINOR)) - M_PI / 2.0) / DEGREESTORADIANS;
-}
-
-static long
-lat_deg_to_mm(double x)
-{
- return (long)(SEMIMINOR * log(tan((x * DEGREESTORADIANS + M_PI / 2.0) / 2.0)));
-}
-
-static void
-lowranceusr_parse_waypt(Waypoint* wpt_tmp)
-{
- char buff[MAXUSRSTRINGSIZE + 1];
- int text_len;
-
- wpt_tmp->latitude = lat_mm_to_deg(gbfgetint32(file_in));
- wpt_tmp->longitude = lon_mm_to_deg(gbfgetint32(file_in));
- wpt_tmp->altitude = FEET_TO_METERS(gbfgetint32(file_in));
- if (METERS_TO_FEET(wpt_tmp->altitude) <= -10000) {
- wpt_tmp->altitude = unknown_alt;
- }
-
- text_len = lowranceusr_readstr(&buff[0], MAXUSRSTRINGSIZE, file_in);
- if (text_len) {
- buff[text_len] = '\0';
- wpt_tmp->shortname = buff;
- }
-
- if (global_opts.debug_level >= 1)
- printf(MYNAME " parse_waypt: Waypt name = %s Lat = %f Lon = %f alt = %f\n",qPrintable(wpt_tmp->shortname), wpt_tmp->latitude,
- wpt_tmp->longitude, wpt_tmp->altitude);
-
- text_len = lowranceusr_readstr(&buff[0], MAXUSRSTRINGSIZE, file_in);
- if (text_len) {
- buff[text_len] = '\0';
- wpt_tmp->description = buff;
- }
- /* Time is number of seconds since Jan. 1, 2000 */
- time_t waypt_time = gbfgetint32(file_in);
- if (waypt_time) {
- wpt_tmp->SetCreationTime(base_time_secs + waypt_time);
- }
-
- if (global_opts.debug_level >= 2) {
- printf(MYNAME " parse_waypt: creation time %d\n",
- (int)wpt_tmp->creation_time.toTime_t());
- printf(MYNAME " parse_waypt: base_time %d\n", (int)base_time_secs);
- printf(MYNAME " parse_waypt: waypt time %d\n", (int)waypt_time);
- }
-
- /* Symbol ID */
- wpt_tmp->icon_descr = lowranceusr_find_desc_from_icon_number(gbfgetint32(file_in));
- if (wpt_tmp->icon_descr.isNull()) {
- char nbuf[10];
- snprintf(nbuf, sizeof(nbuf), "%d", le_read32(buff));
- wpt_tmp->icon_descr = nbuf;
- }
-
- /* Waypoint Type (USER, TEMPORARY, POINT_OF_INTEREST) */
- short waypt_type = gbfgetint16(file_in);
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_waypt: waypt_type = %d\n",waypt_type);
- }
-
- // Version 3 has a depth field here.
- if (reading_version >= 3) {
- float depth_feet = gbfgetflt(file_in);
- if (std::abs(depth_feet - 99999.0) > .1) {
- WAYPT_SET(wpt_tmp, depth, FEET_TO_METERS(depth_feet));
- }
- }
-
-}
-
-
-
-static void
-lowranceusr_parse_routes()
-{
- char buff[MAXUSRSTRINGSIZE + 1];
- short int num_routes, num_legs;
- int text_len;
- Waypoint* wpt_tmp;
-
- num_routes = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_routes: Num Routes = %d\n", num_routes);
- }
-
- for (int i = 0; i < num_routes; i++) {
- rte_head = route_head_alloc();
- route_add_head(rte_head);
- rte_head->rte_num = i+1;
-
- /* route name */
- text_len = lowranceusr_readstr(&buff[0], MAXUSRSTRINGSIZE, file_in);
- if (text_len) {
- buff[text_len] = '\0';
- rte_head->rte_name = buff;
- }
-
- /* num Legs */
- num_legs = gbfgetint16(file_in);
-
- /* route reversed */
- (void) gbfread(&buff[0], 1, 1, file_in);
-
- /* waypoints */
- for (int j = 0; j < num_legs; j++) {
- wpt_tmp = new Waypoint;
- lowranceusr_parse_waypt(wpt_tmp);
- route_add_wpt(rte_head, wpt_tmp);
- }
- }
-}
-
-/*
- * Icons are automatically converted to waypoints unless
- * option of ignoreicons is used
- */
-static void
-lowranceusr_parse_icons()
-{
- char buff[MAXUSRSTRINGSIZE + 1];
- short int num_icons;
- int i;
-
- num_icons = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_icons: num Icons = %d\n", num_icons);
- }
-
- for (i=0; i < num_icons && !gbfeof(file_in); i++) {
- if (ignoreicons) {
- /* position coord lat & long */
- (void) gbfread(&buff[0], 4, 2, file_in);
- /* symbol */
- (void) gbfread(&buff[0], 4, 1, file_in);
- } else {
- Waypoint* wpt_tmp;
- wpt_tmp = new Waypoint;
-
- /* position coord lat & long */
- wpt_tmp->latitude = lat_mm_to_deg(gbfgetint32(file_in));
- wpt_tmp->longitude = lon_mm_to_deg(gbfgetint32(file_in));
- wpt_tmp->altitude = 0;
- snprintf(buff, sizeof(buff), "Icon %d", i+1);
- wpt_tmp->shortname = buff;
- /* symbol */
- wpt_tmp->icon_descr = lowranceusr_find_desc_from_icon_number(gbfgetint32(file_in));
- waypt_add(wpt_tmp);
- }
- }
-
-}
-
-static void
-lowranceusr_parse_trails()
-{
- int text_len;
- Waypoint* wpt_tmp;
- route_head* trk_tmp;
-
- /* num trails */
- short int num_trails = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: num trails = %d\n", num_trails);
- }
-
- int trk_num = 0;
- for (int i = trk_num = 0; i < num_trails && !gbfeof(file_in); i++) {
- trk_head = route_head_alloc();
- trk_head->rte_num = ++trk_num;
- track_add_head(trk_head);
-
- char buff[MAXUSRSTRINGSIZE + 1];
- short int num_trails, num_trail_points, num_section_points;
-
- /* trail name */
- int text_len = lowranceusr_readstr(&buff[0], MAXUSRSTRINGSIZE, file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: name text len = %d\n", text_len);
- }
-
- if (text_len) {
- buff[text_len] = '\0';
- trk_head->rte_name = buff;
- }
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: trail name = %s\n", qPrintable(trk_head->rte_name));
- }
-
- /* visible */
- (void) gbfread(&buff[0], 1, 1, file_in);
- /* num trail points */
- num_trail_points = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: num trail points = %d\n", num_trail_points);
- }
-
- /* max trail size */
- int itmp = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: max trail size = %d\n", itmp);
- }
-
- if (num_trail_points) {
-
- while (num_trail_points && !gbfeof(file_in)) {
- /* num section points */
- num_section_points = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: num section points = %d\n", num_section_points);
- }
-
- for (int j = 0; j < num_section_points && !gbfeof(file_in);
- j++, num_trail_points--) {
- wpt_tmp = new Waypoint;
- wpt_tmp->latitude = lat_mm_to_deg(gbfgetint32(file_in));
- wpt_tmp->longitude = lon_mm_to_deg(gbfgetint32(file_in));
- /* continuous */
- (void) gbfread(&buff[0], 1, 1, file_in);
- if (!buff[0] && seg_break && j) {
- trk_tmp = route_head_alloc();
- trk_tmp->rte_num = ++trk_num;
- trk_tmp->rte_name = trk_head->rte_name;
- track_add_head(trk_tmp);
- trk_head = trk_tmp;
- }
- track_add_wpt(trk_head, wpt_tmp);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " parse_trails: Trail pt lat %f lon %f\n", wpt_tmp->latitude, wpt_tmp->longitude);
- }
- }
- }
- }
- /* remove the trail since it's empty */
- else {
- track_del_head(trk_head);
- }
- }
-}
-
-static void
-data_read()
-{
- short int NumWaypoints, MajorVersion, MinorVersion, object_num;
- int i;
-
- MajorVersion = gbfgetint16(file_in);
- reading_version = MajorVersion;
- MinorVersion = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " data_read: Major Version %d Minor Version %d\n", MajorVersion, MinorVersion);
- }
-
- if (MajorVersion < 2) {
- fatal(MYNAME ": input file is from an old version of the USR file and is not supported\n");
- }
- if (MajorVersion == 4) {
- fatal(MYNAME ": this appears to be a USR v4 file: use the lowranceusr4 format\n");
- }
- if (MajorVersion > 4) {
- fatal(MYNAME ": input file version %d is not supported\n",
- MajorVersion);
- }
-
- NumWaypoints = gbfgetint16(file_in);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " data_read: Num waypoints %d\n", NumWaypoints);
- }
-
- for (i = 0; i < NumWaypoints && !gbfeof(file_in); i++) {
- Waypoint* wpt_tmp;
-
- wpt_tmp = new Waypoint;
-
- /* Object num */
- object_num = gbfgetint16(file_in);
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " data_read: object_num = %d\n", object_num);
- }
-
- /* waypoint */
- lowranceusr_parse_waypt(wpt_tmp);
-
- waypt_add(wpt_tmp);
- }
-
- lowranceusr_parse_routes();
- lowranceusr_parse_icons();
- lowranceusr_parse_trails();
-}
-
-static void
-lowranceusr_waypt_disp(const Waypoint* wpt)
-{
- int Lat, Lon, Time, SymbolId;
- short int WayptType;
- int alt = METERS_TO_FEET(wpt->altitude);
-
- if (wpt->altitude == unknown_alt) {
- alt = UNKNOWN_USR_ALTITUDE;
- }
-
- Lat = lat_deg_to_mm(wpt->latitude);
- Lon = lon_deg_to_mm(wpt->longitude);
- gbfputint32(Lat, file_out);
- gbfputint32(Lon, file_out);
- gbfputint32(alt, file_out);
-
- if (writing_version >= 3) {
- float depth = WAYPT_HAS(wpt, depth) ?
- METERS_TO_FEET(wpt->depth) : -99999.0;
- gbfputflt(depth, file_out);
- }
-
- if (global_opts.debug_level >= 1) {
- /* print lat/lon/alt on one easily greppable line */
- printf(MYNAME " waypt_disp: Lat = %d Lon = %d Alt = %d\n",Lat, Lon, alt);
- }
-
- /* Try and make sure we have a name */
-// this kind of thing would probably be more readable like
-// name = blah.
-// if name.isEmpty()
-// name = planB;
-// if name.isEmpty()
-// name = planC;
-// ...
- QString name;
- if ((wpt->shortname.isEmpty()) || global_opts.synthesize_shortnames) {
- if (!wpt->description.isEmpty() && global_opts.synthesize_shortnames) {
- name = mkshort_from_wpt(mkshort_handle, wpt);
- } else if (!wpt->shortname.isEmpty()) {
- name = wpt->shortname;
- } else if (!wpt->description.isEmpty()) {
- name = wpt->description;
- }
- } else {
- name = wpt->shortname;
- }
-
- text_len = name.length();
- if (text_len > MAXUSRSTRINGSIZE) {
- text_len = MAXUSRSTRINGSIZE;
- }
- gbfputint32(text_len, file_out);
- gbfwrite(CSTRc(name), 1, text_len, file_out);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " waypt_disp: Waypt name = %s\n", qPrintable(name));
- }
-
- /**
- * Comments are now used by the iFinder (Expedition C supports them)
- */
- if (wpt->description != wpt->shortname) {
- QString comment = wpt->description;
- text_len = comment.length();
- if (text_len > MAXUSRSTRINGSIZE) {
- text_len = MAXUSRSTRINGSIZE;
- }
- gbfputint32(text_len, file_out);
- gbfwrite(CSTR(comment), 1, text_len, file_out);
- } else {
- text_len = 0;
- gbfputint32(text_len, file_out);
- }
-
- if (wpt->creation_time.toTime_t() > base_time_secs) {
- Time = wpt->creation_time.toTime_t() - base_time_secs;
- } else {
- Time = 0;
- }
-
- if (global_opts.debug_level >= 2) {
- time_t wpt_time = Time;
- printf(MYNAME " waypt_disp: base_time : %d\n", (int)base_time_secs);
- printf(MYNAME " waypt_disp: creation time : %d\n", (int)wpt->creation_time.toTime_t());
- printf(MYNAME " waypt_disp: waypt time : %d\n", (int)wpt_time);
- printf(MYNAME " waypt_disp: waypt time (local): %s\n", ctime(&wpt_time));
- }
-
- gbfputint32(Time, file_out);
-
- if (get_cache_icon(wpt) && wpt->icon_descr.compare(QLatin1String("Geocache Found")) == 0) {
- SymbolId = lowranceusr_find_icon_number_from_desc(get_cache_icon(wpt));
- } else {
- SymbolId = lowranceusr_find_icon_number_from_desc(wpt->icon_descr);
- }
- /* If the waypoint is archived or disabled, use a "disabled" icon instead. */
- if ((wpt->gc_data->is_archived==status_true) || (wpt->gc_data->is_available==status_false)) {
- SymbolId = lowranceusr_find_icon_number_from_desc("Disabled Cache");
- }
-
- gbfputint32(SymbolId, file_out);
-
- /* USER waypoint type */
- WayptType = 0;
- gbfputint16(WayptType, file_out);
-}
-
-static void
-lowranceusr_waypt_pr(const Waypoint* wpt)
-{
-
- /* our personal waypoint counter */
- gbfputint16(waypt_out_count, file_out);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " waypt_pr: waypoint #%d ",waypt_out_count);
- }
-
- waypt_out_count++;
-
- lowranceusr_waypt_disp(wpt);
-}
-
-/*
- * In Lowrance parlance, an "Icon" is a waypoint but without any
- * kind of a name. The header count of icons has already been written
- * before we get here, so it's just a matter of spitting out
- * 4 bytes lat
- * 4 bytes long
- * 4 bytes symbol
- */
-static void
-lowranceusr_write_icon(const Waypoint* wpt)
-{
- int latmm = lat_deg_to_mm(wpt->latitude);
- int lonmm = lon_deg_to_mm(wpt->longitude);
- int icon = !wpt->icon_descr.isNull() ?
- lowranceusr_find_icon_number_from_desc(wpt->icon_descr) :
- 10003;
-
- gbfputint32(latmm, file_out);
- gbfputint32(lonmm, file_out);
- gbfputint32(icon, file_out);
-}
-
-/*
- * Header format:
- * short num_trails,
- * int trail_name text length,
- * char *trail_name,
- * boolean visible,
- * short num_trail_points,
- * short max_trail_size,
- * short num_section_points
- * == don't know how many max points per section so
- * == use num_trail_points for now
- * == Once this is known then the waypoints ought to be
- * == broken up into sections
- */
-
-static void
-lowranceusr_track_hdr(const route_head* trk)
-{
- int text_len;
- QString name;
- short num_trail_points, max_trail_size;
- char visible=1;
-
- ++trail_count;
-//TODO: This whole function needs to be replaced...
- if (!trk->rte_name.isEmpty()) {
- name = trk->rte_name;
- } else if (!trk->rte_desc.isEmpty()) {
- name = trk->rte_desc;
- } else {
- name = name + QString("Babel %1").arg(trail_count);
- }
-
- text_len = name.length();
- if (text_len > MAXUSRSTRINGSIZE) {
- text_len = MAXUSRSTRINGSIZE;
- }
-
-
-static void
-lowranceusr_route_hdr(const route_head* rte)
-{
- char* name,
- char route_reversed=0;
-
- /* route name */
- //TODO: This whole function needs to be replaced...
- if (!rte->rte_name.isEmpty()) {
- name = xstrdup(rte->rte_name);
- } else if (!rte->rte_desc.isEmpty()) {
- name = xstrdup(rte->rte_desc);
- } else {
- char tmp_name[20];
- tmp_name[0]='\0';
- snprintf(tmp_name, sizeof(tmp_name), "Babel R%d", ++lowrance_route_count);
- name = xstrdup(tmp_name);
- }
- int text_len = strlen(name);
- if (text_len > MAXUSRSTRINGSIZE) {
- text_len = MAXUSRSTRINGSIZE;
- }
- gbfputint32(text_len, file_out);
- gbfwrite(name, 1, text_len, file_out);
- xfree(name);
-
- /* num legs */
- short num_legs = (short) rte->rte_waypt_ct;
- gbfputint16(num_legs, file_out);
- gbfwrite(&route_reversed, 1, 1, file_out);
-
- if (global_opts.debug_level >= 1)
- printf(MYNAME " route_hdr: route name \"%s\" num_legs = %d\n",
- qPrintable(rte->rte_name), num_legs);
-
-}
-
-static void
-lowranceusr_track_disp(const Waypoint* wpt)
-{
- int lat, lon;
-
- if (++trail_point_count <= MAX_TRAIL_POINTS) {
- lat = lat_deg_to_mm(wpt->latitude);
- lon = lon_deg_to_mm(wpt->longitude);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " track_disp: Trail point #%d lat = %d long = %d\n",trail_point_count, lat, lon);
- }
-
- gbfputint32(lat, file_out);
- gbfputint32(lon, file_out);
- gbfwrite(&continuous, 1, 1, file_out);
- if (!continuous) {
- continuous = 1;
- }
- }
-}
-
-static void
-lowranceusr_merge_track_hdr(const route_head* trk)
-{
- int text_len;
- char* name, tmp_name[20];
-
- if (++trail_count == 1) {
- if (!trk->rte_name.isEmpty()) {
- name = xstrdup(trk->rte_name);
- } else if (!trk->rte_desc.isEmpty()) {
- name = xstrdup(trk->rte_desc);
- } else {
- tmp_name[0]='\0';
- snprintf(tmp_name, sizeof(tmp_name), "Babel %d", trail_count);
- name = xstrdup(tmp_name);
- }
- text_len = strlen(name);
- if (text_len > MAXUSRSTRINGSIZE) {
- text_len = MAXUSRSTRINGSIZE;
- }
- gbfputint32(text_len, file_out);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " track_hdr: trail name = %s\n", name);
- }
-
- gbfwrite(name, 1, text_len, file_out);
- }
-
- trail_point_count += (short) trk->rte_waypt_ct;
-}
-
-static void
-lowranceusr_merge_track_tlr(const route_head*)
-{
- char visible=1;
-
- if (trail_count == track_count()) { /* last trail */
- short num_trail_points = trail_point_count;
- max_trail_size = MAX_TRAIL_POINTS;
- if (num_trail_points > max_trail_size) {
- num_trail_points = max_trail_size;
- }
- short num_section_points = num_trail_points;
-
- if (global_opts.debug_level >= 1)
- printf(MYNAME " merge_track_tlr: num_trail_points = %d\nmax_trail_size = %d\nnum_section_points = %d\n",
- num_trail_points, max_trail_size, num_section_points);
-
- gbfwrite(&visible, 1, 1, file_out);
- gbfputint16(num_trail_points, file_out);
- gbfputint16(max_trail_size, file_out);
- gbfputint16(num_section_points, file_out);
- }
-}
-static void
-
-lowranceusr_merge_track_hdr_2(const route_head*)
-{
- continuous = 0;
-}
-
-static void
-data_write()
-{
- short int NumWaypoints, MajorVersion, MinorVersion, NumRoutes, NumTrails, NumIcons;
- setshort_length(mkshort_handle, 15);
- MajorVersion = writing_version;
- MinorVersion = 0;
-
- NumWaypoints = waypt_count();
-
- gbfputint16(MajorVersion, file_out);
- gbfputint16(MinorVersion, file_out);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " data_write: Num waypoints = %d\n", NumWaypoints);
- }
-
- if (writeasicons) {
- short zero = 0;
- gbfputint16(zero, file_out);
- } else {
- gbfputint16(NumWaypoints, file_out);
- waypt_disp_all(lowranceusr_waypt_pr);
- }
-
- /* Route support added 6/21/05 */
- NumRoutes = route_count();
- gbfputint16(NumRoutes, file_out);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " data_write: Num routes = %d\n", NumRoutes);
- }
-
- if (NumRoutes) {
- lowrance_route_count=0;
- route_disp_all(lowranceusr_route_hdr, nullptr, lowranceusr_waypt_disp);
- }
-
- if (NumWaypoints && writeasicons) {
- gbfputint16(NumWaypoints, file_out);
- waypt_disp_all(lowranceusr_write_icon);
- } else {
- NumIcons = 0;
- gbfputint16(NumIcons, file_out);
- }
-
- /* Track support added 6/21/05 */
- NumTrails = track_count();
-
- if (NumTrails && merge) {
- NumTrails = 1;
- gbfputint16(NumTrails, file_out);
- trail_point_count = 0;
- trail_count = 0;
- /* count the number of total track points */
- track_disp_all(lowranceusr_merge_track_hdr, lowranceusr_merge_track_tlr, nullptr);
- /* write out the new track header */
- trail_point_count = 0;
- track_disp_all(lowranceusr_merge_track_hdr_2, nullptr, lowranceusr_track_disp);
-
- } else {
-
- gbfputint16(NumTrails, file_out);
-
- if (global_opts.debug_level >= 1) {
- printf(MYNAME " data_write: Num tracks = %d\n", NumTrails);
- }
-
- if (NumTrails) {
- trail_count=0;
- track_disp_all(lowranceusr_track_hdr, nullptr, lowranceusr_track_disp);
- }
- }
-}
-
-
-ff_vecs_t lowranceusr_vecs = {
- ff_type_file,
- FF_CAP_RW_ALL,
- rd_init,
- wr_init,
- rd_deinit,
- wr_deinit,
- data_read,
- data_write,
- nullptr,
- lowranceusr_args,
- CET_CHARSET_ASCII, 0 /* CET-REVIEW */
- , NULL_POS_OPS,
- nullptr
-};
+++ /dev/null
-/*
- Color utilities.
-
- Copyright (C) 2005 Robert Lipe, robertlipe+source@gpsbabel.org
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
-
- */
-
-#include "defs.h"
-#include <stdlib.h>
-#include <cstdlib>
-
-/*
- * Colors derived from http://www.w3.org/TR/SVG/types.html#ColorKeywords
- * which is also referenced in the CSS3 spec from w3.org as being the
- * same colors supported by X11.
- */
-
-static const struct {
- const char* cn;
- unsigned char r_;
- unsigned char g_;
- unsigned char b_;
-} color_table[] = {
- {"aliceblue", 240, 248, 255},
- {"antiquewhite", 250, 235, 215},
- {"aqua", 0, 255, 255},
- {"aquamarine", 127, 255, 212},
- {"azure", 240, 255, 255},
- {"beige", 245, 245, 220},
- {"bisque", 255, 228, 196},
- {"black", 0, 0, 0},
- {"blanchedalmond", 255, 235, 205},
- {"blue", 0, 0, 255},
- {"blueviolet", 138, 43, 226},
- {"brown", 165, 42, 42},
- {"burlywood", 222, 184, 135},
- {"cadetblue", 95, 158, 160},
- {"chartreuse", 127, 255, 0},
- {"chocolate", 210, 105, 30},
- {"coral", 255, 127, 80},
- {"cornflowerblue", 100, 149, 237},
- {"cornsilk", 255, 248, 220},
- {"crimson", 220, 20, 60},
- {"cyan", 0, 255, 255},
- {"darkblue", 0, 0, 139},
- {"darkcyan", 0, 139, 139},
- {"darkgoldenrod", 184, 134, 11},
- {"darkgray", 169, 169, 169},
- {"darkgreen", 0, 100, 0},
- {"darkgrey", 169, 169, 169},
- {"darkkhaki", 189, 183, 107},
- {"darkmagenta", 139, 0, 139},
- {"darkolivegreen", 85, 107, 47},
- {"darkorange", 255, 140, 0},
- {"darkorchid", 153, 50, 204},
- {"darkred", 139, 0, 0},
- {"darksalmon", 233, 150, 122},
- {"darkseagreen", 143, 188, 143},
- {"darkslateblue", 72, 61, 139},
- {"darkslategray", 47, 79, 79},
- {"darkslategrey", 47, 79, 79},
- {"darkturquoise", 0, 206, 209},
- {"darkviolet", 148, 0, 211},
- {"deeppink", 255, 20, 147},
- {"deepskyblue", 0, 191, 255},
- {"dimgray", 105, 105, 105},
- {"dimgrey", 105, 105, 105},
- {"dodgerblue", 30, 144, 255},
- {"firebrick", 178, 34, 34},
- {"floralwhite", 255, 250, 240},
- {"forestgreen", 34, 139, 34},
- {"fuchsia", 255, 0, 255},
- {"gainsboro", 220, 220, 220},
- {"ghostwhite", 248, 248, 255},
- {"gold", 255, 215, 0},
- {"goldenrod", 218, 165, 32},
- {"gray", 128, 128, 128},
- {"grey", 128, 128, 128},
- {"green", 0, 128, 0},
- {"greenyellow", 173, 255, 47},
- {"honeydew", 240, 255, 240},
- {"hotpink", 255, 105, 180},
- {"indianred", 205, 92, 92},
- {"indigo", 75, 0, 130},
- {"ivory", 255, 255, 240},
- {"khaki", 240, 230, 140},
- {"lavender", 230, 230, 250},
- {"lavenderblush", 255, 240, 245},
- {"lawngreen", 124, 252, 0},
- {"lemonchiffon", 255, 250, 205},
- {"lightblue", 173, 216, 230},
- {"lightcoral", 240, 128, 128},
- {"lightcyan", 224, 255, 255},
- {"lightgoldenrodyellow", 250, 250, 210},
- {"lightgray", 211, 211, 211},
- {"lightgreen", 144, 238, 144},
- {"lightgrey", 211, 211, 211},
- {"lightpink", 255, 182, 193},
- {"lightsalmon", 255, 160, 122},
- {"lightseagreen", 32, 178, 170},
- {"lightskyblue", 135, 206, 250},
- {"lightslategray", 119, 136, 153},
- {"lightslategrey", 119, 136, 153},
- {"lightsteelblue", 176, 196, 222},
- {"lightyellow", 255, 255, 224},
- {"lime", 0, 255, 0},
- {"limegreen", 50, 205, 50},
- {"linen", 250, 240, 230},
- {"magenta", 255, 0, 255},
- {"maroon", 128, 0, 0},
- {"mediumaquamarine", 102, 205, 170},
- {"mediumblue", 0, 0, 205},
- {"mediumorchid", 186, 85, 211},
- {"mediumpurple", 147, 112, 219},
- {"mediumseagreen", 60, 179, 113},
- {"mediumslateblue", 123, 104, 238},
- {"mediumspringgreen", 0, 250, 154},
- {"mediumturquoise", 72, 209, 204},
- {"mediumvioletred", 199, 21, 133},
- {"midnightblue", 25, 25, 112},
- {"mintcream", 245, 255, 250},
- {"mistyrose", 255, 228, 225},
- {"moccasin", 255, 228, 181},
- {"navajowhite", 255, 222, 173},
- {"navy", 0, 0, 128},
- {"oldlace", 253, 245, 230},
- {"olive", 128, 128, 0},
- {"olivedrab", 107, 142, 35},
- {"orange", 255, 165, 0},
- {"orangered", 255, 69, 0},
- {"orchid", 218, 112, 214},
- {"palegoldenrod", 238, 232, 170},
- {"palegreen", 152, 251, 152},
- {"paleturquoise", 175, 238, 238},
- {"palevioletred", 219, 112, 147},
- {"papayawhip", 255, 239, 213},
- {"peachpuff", 255, 218, 185},
- {"peru", 205, 133, 63},
- {"pink", 255, 192, 203},
- {"plum", 221, 160, 221},
- {"powderblue", 176, 224, 230},
- {"purple", 128, 0, 128},
- {"red", 255, 0, 0},
- {"rosybrown", 188, 143, 143},
- {"royalblue", 65, 105, 225},
- {"saddlebrown", 139, 69, 19},
- {"salmon", 250, 128, 114},
- {"sandybrown", 244, 164, 96},
- {"seagreen", 46, 139, 87},
- {"seashell", 255, 245, 238},
- {"sienna", 160, 82, 45},
- {"silver", 192, 192, 192},
- {"skyblue", 135, 206, 235},
- {"slateblue", 106, 90, 205},
- {"slategray", 112, 128, 144},
- {"slategrey", 112, 128, 144},
- {"snow", 255, 250, 250},
- {"springgreen", 0, 255, 127},
- {"steelblue", 70, 130, 180},
- {"tan", 210, 180, 140},
- {"teal", 0, 128, 128},
- {"thistle", 216, 191, 216},
- {"tomato", 255, 99, 71},
- {"turquoise", 64, 224, 208},
- {"violet", 238, 130, 238},
- {"wheat", 245, 222, 179},
- {"white", 255, 255, 255},
- {"whitesmoke", 245, 245, 245},
- {"yellow", 255, 255, 0},
- {"yellowgreen", 154, 205, 50},
-};
-
-
-/*
- * Functions for converting human-readable colors to BBGGRR value.
- * Substantial optimization opportunities remain.
- */
-static int HexDigit(char hex)
-{
- const char* Digits = "0123456789ABCDEF";
- const char* digits = "0123456789abcdef";
- const char* ofs = strchr(digits, hex);
- if (ofs) {
- return ofs-digits;
- }
-
- ofs = strchr(Digits, hex);
- if (ofs) {
- return ofs-Digits;
- }
- return 0;
-}
-
-// NOTE: undefined if called on a nybble.
-static int HexByte(const char* hex)
-{
- int b = (HexDigit(hex[0])<<4)+HexDigit(hex[1]);
- return b;
-}
-
-/*
- * Given an input of the form:
- * #<hex number for RGB value>
- * <decimal nummber for BBGGRR value>
- * <color named in CSS1 spec>
- * return the BBGGRR value for it.
- */
-
-int
-color_to_bbggrr(const char* opt_color)
-{
- char* ep;
- //fprintf(stderr, opt_color);
-//char* pt_color = "#ff8020";
- int color_num = strtol(opt_color, &ep, 10);
-
- if (ep != opt_color) {
- return color_num;
- fprintf(stdout, "%d", opt_color , "\'n");
-
- if (opt_color[0] == '#') {
- #if 0
- color_num = (HexByte(opt_color+1)) + // red
- (HexByte(opt_color+3)<<8) + // green
- (HexByte(opt_color+5)<<16); // blue
- #else
- unsigned long rgb;
- char* color = (char*) opt_color;
- color_num = std::strtoul(color + 1, &color + 7, 16);
-#endif
- return color_num;
- }
-
- for (auto i = 0; i < sizeof(color_table) / sizeof(color_table[0]); i++) {
- if (0 == case_ignore_strcmp(opt_color, color_table[i].cn)) {
- return (color_table[i].b_ << 16) +
- (color_table[i].g_ << 8) +
- color_table[i].r_;
- }
- }
- }
-
- fatal("unrecognized color name %s\n", opt_color);
- return -1;
-}
+++ /dev/null
-# Enforce minimum Qt version.
-# versionAtLeast() was introduced in Qt 5.10, so we can't count on it being available.
-# MIN_QT_VERSION = 5.7 # major[.minor[.patch]]
-# MIN_QT_VERSION_COMPONENTS = $$split(MIN_QT_VERSION, .)
-# MIN_QT_VERSION_MAJOR = $$member(MIN_QT_VERSION_COMPONENTS, 0)
-# MIN_QT_VERSION_MINOR = $$member(MIN_QT_VERSION_COMPONENTS, 1)
-# MIN_QT_VERSION_PATCH = $$member(MIN_QT_VERSION_COMPONENTS, 2)
-# # count(MIN_QT_VERSION_MINOR, 0): MIN_QT_VERSION_MINOR = 0
-# count(MIN_QT_VERSION_PATCH, 0): MIN_QT_VERSION_PATCH = 0
-# lessThan(QT_MAJOR_VERSION, $$MIN_QT_VERSION_MAJOR) | \
-# if(equals(QT_MAJOR_VERSION, $$MIN_QT_VERSION_MAJOR):lessThan(QT_MINOR_VERSION, $$MIN_QT_VERSION_MINOR)) | \
-# if(equals(QT_MAJOR_VERSION, $$MIN_QT_VERSION_MAJOR):equals(QT_MINOR_VERSION, $$MIN_QT_VERSION_MINOR):lessThan(QT_PATCH_VERSION, $$MIN_QT_VERSION_PATCH)) {
-# error("$$QMAKE_QMAKE uses Qt version $$QT_VERSION but version $${MIN_QT_VERSION_MAJOR}.$${MIN_QT_VERSION_MINOR}.$${MIN_QT_VERSION_PATCH} or newer is required.")
-# }
-
-QT -= gui
-
-TARGET = GPSBabel
-CONFIG += console
-CONFIG -= app_bundle
-CONFIG += c++11
-
-TEMPLATE = app
-
-MINIMAL_FMTS = magproto.cc explorist_ini.cc gpx.cc geo.cc mapsend.cc mapsource.cc garmin.cc \
- garmin_device_xml.cc garmin_tables.cc internal_styles.cc nmea.cc \
- kml.cc wbt-200.cc
-
-ALL_FMTS=$$MINIMAL_FMTS gtm.cc gpsutil.cc pcx.cc \
- skytraq.cc holux.cc tmpro.cc tpg.cc tpo.cc \
- xcsv.cc tiger.cc easygps.cc \
- saroute.cc navicache.cc psitrex.cc delgpl.cc \
- ozi.cc text.cc html.cc netstumbler.cc \
- igc.cc brauniger_iq.cc shape.cc hiketech.cc glogbook.cc \
- vcf.cc xhtmlent.cc lowranceusr.cc an1.cc tomtom.cc \
- tef_xml.cc maggeo.cc vitosmt.cc gdb.cc bcr.cc \
- ignrando.cc stmwpp.cc cst.cc nmn4.cc compegps.cc \
- yahoo.cc unicsv.cc wfff_xml.cc garmin_txt.cc gpssim.cc \
- stmsdf.cc gtrnctr.cc dmtlog.cc raymarine.cc alan.cc vitovtt.cc \
- ggv_log.cc g7towin.cc garmin_gpi.cc lmx.cc random.cc xol.cc dg-100.cc \
- navilink.cc mtk_logger.cc ik3d.cc osm.cc destinator.cc exif.cc vidaone.cc \
- igo8.cc gopal.cc humminbird.cc mapasia.cc gnav_trl.cc navitel.cc ggv_ovl.cc \
- jtr.cc sbp.cc sbn.cc mmo.cc skyforce.cc itracku.cc v900.cc \
- pocketfms_bc.cc pocketfms_fp.cc pocketfms_wp.cc naviguide.cc enigma.cc \
- vpl.cc teletype.cc jogmap.cc bushnell.cc bushnell_trl.cc wintec_tes.cc \
- subrip.cc garmin_xt.cc garmin_fit.cc lowranceusr4.cc \
- mtk_locus.cc googledir.cc mapbar_track.cc mapfactor.cc f90g_track.cc \
- energympro.cc mynav.cc ggv_bin.cc globalsat_sport.cc geojson.cc
-
-DEPRECATED_FMTS=cetus.cc copilot.cc gpspilot.cc magnav.cc psp.cc gcdb.cc quovadis.cc gpilots.cc geoniche.cc palmdoc.cc hsa_ndv.cc coastexp.cc pathaway.cc coto.cc msroute.cc mag_pdb.cc axim_gpb.cc delbin.cc google.cc
-
-DEPRECATED_HEADERS=geo.h quovadis.h
-DEPRECATED_SHAPE=pdbfile.cc
-
-# ALL_FMTS=$$MINIMAL_FMTS
-FILTERS=position.cc radius.cc duplicate.cc arcdist.cc polygon.cc smplrout.cc \
- reverse_route.cc sort.cc stackfilter.cc trackfilter.cc discard.cc \
- nukedata.cc interpolate.cc transform.cc height.cc swapdata.cc bend.cc \
- validate.cc
-FILTER_HEADERS = $$FILTERS
-FILTER_HEADERS ~= s/\.cc/.h/g
-
-SHAPE=shapelib/shpopen.c shapelib/dbfopen.c shapelib/safileio.c
-
-ZLIB=zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/inffast.c \
- zlib/inflate.c zlib/infback.c zlib/inftrees.c zlib/trees.c \
- zlib/uncompr.c zlib/gzlib.c zlib/gzclose.c zlib/gzread.c \
- zlib/gzwrite.c zlib/zutil.c
-
-JEEPS += jeeps/gpsapp.cc jeeps/gpscom.cc \
- jeeps/gpsmath.cc jeeps/gpsmem.cc \
- jeeps/gpsprot.cc jeeps/gpsread.cc \
- jeeps/gpsdevice.cc jeeps/gpsdevice_ser.cc jeeps/gpsdevice_usb.cc \
- jeeps/gpsrqst.cc jeeps/gpssend.cc jeeps/gpsserial.cc jeeps/jgpsutil.cc \
- jeeps/gpsusbread.cc jeeps/gpsusbsend.cc \
- jeeps/gpsusbcommon.cc
-
-
-SUPPORT = queue.cc route.cc waypt.cc filter_vecs.cc util.cc vecs.cc mkshort.cc \
- csv_util.cc strptime.c grtcirc.cc util_crc.cc xmlgeneric.cc \
- formspec.cc xmltag.cc cet.cc cet_util.cc fatal.cc rgbcolors.cc \
- inifile.cc garmin_fs.cc gbsleep.cc units.cc gbser.cc \
- gbfile.cc parse.cc session.cc main.cc globals.cc \
- src/core/usasciicodec.cc \
- src/core/xmlstreamwriter.cc
-
-HEADERS = \
- an1sym.h \
- cet.h \
- cet/ansi_x3_4_1968.h \
- cet/cp1252.h \
- cet/iso_8859_8.h \
- cet_util.h \
- csv_util.h \
- defs.h \
- explorist_ini.h \
- filter.h \
- filterdefs.h \
- garmin_device_xml.h \
- garmin_fs.h \
- garmin_gpi.h \
- garmin_tables.h \
- gbfile.h \
- gbser.h \
- gbser_private.h \
- gbversion.h \
- grtcirc.h \
- heightgrid.h \
- holux.h \
- inifile.h \
- jeeps/garminusb.h \
- jeeps/gps.h \
- jeeps/gpsapp.h \
- jeeps/gpscom.h \
- jeeps/gpsdatum.h \
- jeeps/gpsdevice.h \
- jeeps/gpsfmt.h \
- jeeps/gpsinput.h \
- jeeps/gpsmath.h \
- jeeps/gpsmem.h \
- jeeps/gpsport.h \
- jeeps/gpsproj.h \
- jeeps/gpsprot.h \
- jeeps/gpsread.h \
- jeeps/gpsrqst.h \
- jeeps/gpssend.h \
- jeeps/gpsserial.h \
- jeeps/gpsusbcommon.h \
- jeeps/gpsusbint.h \
- jeeps/gpsutil.h \
- magellan.h \
- mapsend.h \
- navilink.h \
- queue.h \
- session.h \
- shapelib/shapefil.h \
- strptime.h \
- xmlgeneric.h \
- zlib/crc32.h \
- zlib/deflate.h \
- zlib/gzguts.h \
- zlib/inffast.h \
- zlib/inffixed.h \
- zlib/inflate.h \
- zlib/inftrees.h \
- zlib/trees.h \
- zlib/zconf.h \
- zlib/zlib.h \
- zlib/zutil.h \
- src/core/datetime.h \
- src/core/file.h \
- src/core/logging.h \
- src/core/usasciicodec.h \
- src/core/xmlstreamwriter.h \
- src/core/xmltag.h
-
-HEADERS += $$FILTER_HEADERS
-
-INCLUDEPATH += zlib
-
-load(configure)
-
-macx|linux {
- qtCompileTest(unistd) {
- # this is used by zlib
- DEFINES += HAVE_UNISTD_H
- }
- qtCompileTest(stdarg) {
- # this is used by zlib
- DEFINES += HAVE_STDARG_H
- }
- DEFINES += HAVE_NANOSLEEP HAVE_LIBUSB HAVE_GLOB
- SOURCES += gbser_posix.cc
- HEADERS += gbser_posix.h
- JEEPS += jeeps/gpslibusb.cc
- INCLUDEPATH += jeeps
-}
-
-win32 {
- DEFINES += __WIN32__ _CONSOLE
- DEFINES -= UNICODE ZLIB_INHIBITED
- CONFIG(debug, debug|release) {
- DEFINES += _DEBUG
- }
- SOURCES += gbser_win.cc
- HEADERS += gbser_win.h
- JEEPS += jeeps/gpsusbwin.cc
- LIBS += "-lsetupapi"
-}
-
-win32-msvc* {
- DEFINES += _CRT_SECURE_NO_DEPRECATE
- QMAKE_CXXFLAGS += /MP -wd4100
-}
-
-linux {
- DEFINES += HAVE_LINUX_HID
- LIBS += "-lusb"
-}
-
-macx {
- LIBS += -framework IOKit -framework CoreFoundation
- INCLUDEPATH += mac/libusb
- SOURCES += mac/libusb/darwin.c \
- mac/libusb/descriptors.c \
- mac/libusb/error.c \
- mac/libusb/usb.c
- HEADERS += mac/libusb/error.h \
- mac/libusb/usb.h \
- mac/libusb/usbi.h
-}
-
-SOURCES += $$ALL_FMTS $$FILTERS $$SUPPORT $$SHAPE $$ZLIB $$JEEPS
-DEFINES += NEW_STRINGS
-
-# We don't care about stripping things out of the build. Full monty, baby.
-DEFINES += MAXIMAL_ENABLED
-DEFINES += FILTERS_ENABLED
-DEFINES += SHAPELIB_ENABLED
-DEFINES += CSVFMTS_ENABLED
-
-# Creator insists on adding -W to -Wall which results in a completely
-# absurd amount of jibber-jabber on perfectly legally formed code.
-# Rather than wade through a thousand lines of yammer, let's just nuke -W
-# but leave -Wall, which actually has useful stuff.
-# Citation: http://stackoverflow.com/questions/18667291/disable-wall-compiler-warnings-in-a-qt-project
-QMAKE_CFLAGS_WARN_ON -= -W
-QMAKE_CXXFLAGS_WARN_ON -= -W
-
-macx|linux{
- check.commands = PNAME=./$(TARGET) ./testo
- check.depends = $(TARGET)
- QMAKE_EXTRA_TARGETS += check
-}
-
-# build the compilation data base used by clang tools including clang-tidy.
-macx|linux{
- compile_command_database.target = compile_commands.json
- compile_command_database.commands = make clean; bear make
- QMAKE_EXTRA_TARGETS += compile_command_database
-}
-
-# run clang-tidy
-# example usage:
-# make clang-tidy RUN_CLANG_TIDY_FLAGS="-header-filter=.*\\\.h -checks=-*,modernize-use-nullptr -fix"
-# It seems to be better to use run-clang-tidy with the compilation database as opposed to
-# running clang-tidy directly and listing the
-# compilation options on the clang-tidy line after --.
-# An example is modernize-use-override which inserts repeadted overrides when run directly,
-# but works as expected when run with run-clang-tidy.
-clang-tidy.commands = run-clang-tidy.py $(RUN_CLANG_TIDY_FLAGS)
-clang-tidy.depends = compile_commands.json
-QMAKE_EXTRA_TARGETS += clang-tidy
-
-# generate coverage report for codacy
-# must use gcc, g++
-# dependencies:
-# extra ubuntu bionic packages: gcovr
-linux{
- coverage.commands = make clean;
- coverage.commands += rm -f gpsbabel_coverage.xml;
- coverage.commands += ln -sf GPSBabel gpsbabel;
- coverage.commands += $(MAKE) CFLAGS=\"$(CFLAGS) -fprofile-arcs -ftest-coverage\" CXXFLAGS=\"$(CXXFLAGS) -fprofile-arcs -ftest-coverage\" LFLAGS=\"$(LFLAGS) --coverage\" &&
- coverage.commands += ./testo &&
- coverage.commands += gcov -r $(SOURCES) &&
- coverage.commands += gcovr -r . --xml --exclude='zlib/*' --exclude='shapelib/*' -o gpsbabel_coverage.xml;
- QMAKE_EXTRA_TARGETS += coverage
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 4.6.2, 2018-07-03T23:31:20. -->
-<qtcreator>
- <data>
- <variable>EnvironmentId</variable>
- <value type="QByteArray">{bde38e34-291f-417e-b793-a8af8f4a200a}</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.ActiveTarget</variable>
- <value type="int">0</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.EditorSettings</variable>
- <valuemap type="QVariantMap">
- <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
- <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
- <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
- <value type="QString" key="language">Cpp</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
- </valuemap>
- </valuemap>
- <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
- <value type="QString" key="language">QmlJS</value>
- <valuemap type="QVariantMap" key="value">
- <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
- </valuemap>
- </valuemap>
- <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
- <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
- <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
- <value type="int" key="EditorConfiguration.IndentSize">4</value>
- <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
- <value type="int" key="EditorConfiguration.MarginColumn">80</value>
- <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
- <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
- <value type="int" key="EditorConfiguration.PaddingMode">1</value>
- <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
- <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
- <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
- <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
- <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
- <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
- <value type="int" key="EditorConfiguration.TabSize">8</value>
- <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
- <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
- <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
- <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
- <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
- <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.PluginSettings</variable>
- <valuemap type="QVariantMap"/>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Target.0</variable>
- <valuemap type="QVariantMap">
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.5 clang 64bit</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.5 clang 64bit</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.595.clang_64_kit</value>
- <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
- <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/build-xxx-Desktop_Qt_5_9_5_clang_64bit-Debug</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/build-xxx-Desktop_Qt_5_9_5_clang_64bit-Release</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
- <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/robertlipe/src/build-xxx-Desktop_Qt_5_9_5_clang_64bit-Profile</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
- <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
- <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
- <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
- <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
- <value type="QString">-w</value>
- <value type="QString">-r</value>
- </valuelist>
- <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
- <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
- <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
- <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
- <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
- <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
- <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy Configuration</value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
- <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
- <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
- <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
- <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
- <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
- <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
- <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
- <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
- <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
- <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
- <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
- <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
- <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
- <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
- <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
- <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
- <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
- <value type="int">0</value>
- <value type="int">1</value>
- <value type="int">2</value>
- <value type="int">3</value>
- <value type="int">4</value>
- <value type="int">5</value>
- <value type="int">6</value>
- <value type="int">7</value>
- <value type="int">8</value>
- <value type="int">9</value>
- <value type="int">10</value>
- <value type="int">11</value>
- <value type="int">12</value>
- <value type="int">13</value>
- <value type="int">14</value>
- </valuelist>
- <value type="int" key="PE.EnvironmentAspect.Base">-1</value>
- <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
- <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
- <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
- <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
- <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
- <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
- <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
- </valuemap>
- <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
- </valuemap>
- </data>
- <data>
- <variable>ProjectExplorer.Project.TargetCount</variable>
- <value type="int">1</value>
- </data>
- <data>
- <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
- <value type="int">18</value>
- </data>
- <data>
- <variable>Version</variable>
- <value type="int">18</value>
- </data>
-</qtcreator>